<% if @artworks.nil? %>
<%= content_tag :option, 'Please select an artist' %>
<% elsif @artworks.size > 0 %>
<%= content_tag :option, '' %>
<%= options_from_collection_for_select(@artworks, :id, :name, {:include_blank => true}) %>
<% else %>
<%= content_tag :option, 'This artist has no artworks' %>
<% end %>